import request from "@/utils/request";
// 获取管理员列表
export const getAdminList=(obj)=>request.post('/api/admin/merchant/pagelist.do',obj,{headers: {
    'Content-Type': 'application/x-www-form-urlencoded'
}})
// 禁用商家
export const forbidAdmin=(obj)=>request.post('/api/admin/merchant/forbid.do',obj,{headers: {
    'Content-Type': 'application/x-www-form-urlencoded'
}})

// 激活商家
export const activeAdmin=(obj)=>request.post('/api/admin/merchant/activate.do',obj,{headers: {    'Content-Type': 'application/x-www-form-urlencoded'}})